
package com.microweb.toastmaster.service;

import java.util.List;

import com.microweb.toastmaster.service.Manager;
import com.microweb.toastmaster.model.Actor;
import com.microweb.toastmaster.dao.ActorDao;

public interface ActorManager extends Manager {
    /**
     * Retrieves all of the actors
     */
    public List getActors(Actor actor);

    /**
     * Gets actor's information based on id.
     * @param id the actor's id
     * @return actor populated actor object
     */
    public Actor getActor(final String id);

    /**
     * Saves a actor's information
     * @param actor the object to be saved
     */
    public void saveActor(Actor actor);

    /**
     * Removes a actor from the database by id
     * @param id the actor's id
     */
    public void removeActor(final String id);
}

